import { useSelector } from "react-redux";
import { StateType } from "../store";

const useGetPageInfo = ()=>{
    const obj = useSelector((state:StateType)=>{
        return state.Question_Reducer
    })
    
    
    return obj
}

export default useGetPageInfo